package com.joey.PreFactory;

public class pre {
    //注意方法一定要公开，否则豆子配置文件那边拿不到，访问不到
    public void setDaoMethod(dao d) {
//    void setDaoMethod(dao d){
        System.out.println("成功注入" + d);
    }
}